public class student {
    private int ID,age;
    private String name;
    private double grade;

    public double getGrade() {
        return grade;
    }

    public void setGrade(double grade) {
        this.grade=grade;
    }
    public int getAge() {
        return age;
    }
    public void setAge(int age) {
        this.age = age;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID=ID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public student(int id,String name,double grade0,int age0){
        this.name=name;
        this.grade=grade0;
        this.age=age0;
        this.ID=id;
    }


    public String toString() {
    return ("\t"+ID+"\t"+name+"\t"+grade+"\t"+age);

    }
}
